package com.steakliu.sun.invoker.api;

import com.steakliu.sun.constant.InvokerConstant;
import com.steakliu.sun.spi.annotation.SPI;

/**
 * 功能说明： 反射调用顶层接口
 * <p>
 * Original @Author: steakliu-刘牌, 2023-01-08  14:38
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@SPI(InvokerConstant.JDK)
public interface Invoker {

    Object invoke(Object serviceBean, Class<?> clazz, String methodName, Class<?>[] parameterTypes, Object[] parameters) throws Throwable;
}
